<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="PyfntbejegastoViewDlg" widgetVar="PyfntbejegastoViewDialog" modal="true" resizable="false" appendToBody="true" header="#{myBundle.ViewPyfntbejegastoTitle}">

            <h:form id="PyfntbejegastoViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{pyfntbejegastoController.selected != null}">

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_pyfntbejegastoid}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.pyfntbejegastoid}" title="#{myBundle.ViewPyfntbejegastoTitle_pyfntbejegastoid}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_asignado}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.asignado}" title="#{myBundle.ViewPyfntbejegastoTitle_asignado}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_modificado}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.modificado}" title="#{myBundle.ViewPyfntbejegastoTitle_modificado}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_vigente}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.vigente}" title="#{myBundle.ViewPyfntbejegastoTitle_vigente}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_montocertif}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.montocertif}" title="#{myBundle.ViewPyfntbejegastoTitle_montocertif}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_comprometido}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.comprometido}" title="#{myBundle.ViewPyfntbejegastoTitle_comprometido}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_devengado}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.devengado}" title="#{myBundle.ViewPyfntbejegastoTitle_devengado}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_pagado}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.pagado}" title="#{myBundle.ViewPyfntbejegastoTitle_pagado}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_fechacorte}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.fechacorte}" title="#{myBundle.ViewPyfntbejegastoTitle_fechacorte}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_observaciones}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.observaciones}" title="#{myBundle.ViewPyfntbejegastoTitle_observaciones}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_pyfntbpoaprogid}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.pyfntbpoaprogid.pyfntbpoaprogid}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbejegastoLabel_pyfntbpartidaid}"/>
                        <h:outputText value="#{pyfntbejegastoController.selected.pyfntbpartidaid.descripcion}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{myBundle.Close}" onclick="PyfntbejegastoViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
